home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000157_collector59ca@yahoo.com_Tue Mar 30 09:56:52 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!cyclone.bc.net!news.glorb.com!postnews2.google.com!not-for-mail
  2. From: collector59ca@yahoo.com (Klein Bill)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Trying to connect to a device console via COM 1 (no dialing modem)
  5. Date: 30 Mar 2004 06:08:30 -0800
  6. Organization: http://groups.google.com
  7. Lines: 49
  8. Message-ID: <9c258be2.0403300608.46d5097f@posting.google.com>
  9. References: <9c258be2.0403292240.2e00c890@posting.google.com>
  10. NNTP-Posting-Host: 80.74.106.236
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1080655711 28909 127.0.0.1 (30 Mar 2004 14:08:31 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Tue, 30 Mar 2004 14:08:31 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14869
  17.  
  18. Corrections:
  19. I've updated the script to (see capitals):
  20.  
  21. *****************************
  22. SET MODEM TYPE NONE
  23. set input echo on
  24. def tsprompt >
  25. set carrier-watch off
  26. set line  1
  27. set serial 8n1
  28. set speed 115200
  29.  
  30. OUTPUT \13
  31.  
  32. if def tsprompt {                     
  33.     for \%i 1 2 1 {                   
  34.  input 1 \m(tsprompt)           
  35.  if success break               
  36.  output \13                     
  37.     } lineout show config          ;command to send      
  38. }
  39. *****************************************
  40.  
  41. And still Kermit exhibits the same behavior.
  42.  
  43. I've made a FINAL UPDATE (the next one -> see below)
  44.  
  45. ****************************************
  46. set input echo on
  47. set modem type none
  48. set carrier-watch off
  49. set line  1
  50. set serial 8n1
  51. set speed 115200
  52. output \13
  53. input 2 console>
  54. lineout show config
  55. INPUT -1 STRING_THAT_NEVER_COMES
  56. *****************************************
  57.  
  58. And this time Kermit showed me the full interaction in command mode.
  59. Why isn't it possible to obtain the interaction dialog in command mode
  60. without having an endless waiting condition at the end of the script ?
  61. Why set input echo on is not enough? If it is possible to get the
  62. interaction in command mode without the "STRING_THAT_NEVER_COMES" part
  63. I'd like to know the way.
  64.  
  65. Please anybody help.
  66. Thanks in advance